package zhongbo.java.air.dictionary.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import zhongbo.java.air.dictionary.model.AirAlertZone;

import java.time.LocalDateTime;
import java.util.List;

public interface IAirAlertZoneService extends IService<AirAlertZone> {

    Page<AirAlertZone> pageWithOrder(Page<AirAlertZone> page, String orderField, boolean isAsc);

    IPage<AirAlertZone> pageWithOrder(IPage<AirAlertZone> page, String orderField, boolean isAsc);

    AirAlertZone getByZoneCode(String zoneCode);

    List<AirAlertZone> listByZoneType(String zoneType);

    List<AirAlertZone> listEffectiveAt(LocalDateTime dateTime);
}
